package com.deng.api.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.deng.api.dto.UserDTO;
import com.deng.api.entity.AuthUser;
import com.deng.api.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 系统用户表 Mapper 接口
 * </p>
 *
 * @author deng
 * @since 2022-08-10
 */
public interface SysUserMapper extends BaseMapper<SysUser> {
    AuthUser getUserByUserName(String username);
    List<UserDTO> getUsers(UserDTO userDTO);
    Integer getUserCount(UserDTO userDTO);
    List<AuthUser> listConsultant(Long companyId);
}
